

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<script type="text/javascript" src="helpman_topicinit.js"></script>

<title>Import Binary Module [Enterprise Architect User Guide]</title>

<meta name="keywords" content="Enterprise Architect, Sparx Systems, UML, Import,Import Binary Module, Reverse Engineering,Reverse Engineering,Reverse Engineering Import Binary Module,Binary Module,Binary Module Import, Reverse Engineering">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />

<link type="text/css" href="default.css" rel="stylesheet" />
<style type="text/css">
  A, A:Visited
  {
    color: #00F;
  }

  A:Active, A:Hover
  {
    color: #F00;
  }

  OL
  {
    margin: 5px 0 5px 48px;
  }

  UL
  {
    margin-bottom: 3px;
    margin-top: 0;
  }

  #nsr
  {
    background-color: #D4DFFF;
  }

  #nsr A
  {
    text-decoration: none;
  }

  #mainbody
  {
    padding: 8px;
  }

  .p_BodyText
  {
    padding: 5px 0;
  }
</style>



<style type="text/css" media="screen">
  BODY
  {
    background-color: #FFFFFF;
  }

  #nsr
  {
    padding: 6px 6px 0 6px;
    border-bottom: none;
    vertical-align: top;
    z-index: 2;
    visibility: visible;
    left: 0;
    top: 0;
    position: absolute;
  }

  #mainbody
  {
    left: 0;
    top: 0;
    margin: 0;
    position: absolute;
    padding: 10px;
    overflow: auto;
    height: 100%;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-attachment: fixed;
  }
</style>

<style type="text/css" media="print">
  #nsr
  {
    visibility: none;
  }

  #mainbody
  {
    overflow: visible;
  }
</style>
<script type="text/javascript" language="JavaScript" src="nonscroll.js"></script>

</head>
<body scroll="no">

<div id="page">



        <div id="content">
          <div id="content-inner">
          



  
          <div id="nsr">
            <table border="0" cellspacing="0" cellpadding="4" width="100%">
              <tr valign="top">
                <td align="left">
  


                  <p class="p_Heading1"><span class="f_Heading1">Import Binary Module</span></p>



  
                </td>
                <td align="right">
                  <a href="introduction.htm" onmouseover="document.images.main.src='button_main_h.gif'" onmouseout="document.images.main.src='button_main.gif'">
                    <img name="main" src="button_main.gif" border=0 alt="Return to Introduction">
                  </a>&nbsp;
    
                  <a href="revengtree.htm" onmouseover="document.images.prev.src='button_prev_h.gif'" onmouseout="document.images.prev.src='button_prev.gif'">
                    <img name=prev src="button_prev.gif" border=0 alt="Previous page" />
                  </a>&nbsp;
    
    
    
                  <a href="mdglinkandcodeengineering.htm" onmouseover="document.images.next.src='button_next_h.gif'" onmouseout="document.images.next.src='button_next.gif'">
                    <img name=next src="button_next.gif" border=0 alt="Next page" />
                  </a>
    
    
                </td>
              </tr>
            </table>
          </div>
          <div id="mainbody">
  


                <p class="p_BodyText"><span class="f_BodyText">Enterprise Architect enables you to reverse-engineer certain types of binary modules. To import a binary module, right-click on the target package in the </span><span class="f_UIControl">Project Browser</span><span class="f_BodyText"> and select the </span><span class="f_MenuKeyField">Code Engineering | Import Binary Module</span><span class="f_BodyText"> menu option.</span></p>
<p class="p_TextIndentedL2"><img src="import%20binary.png" width="392" height="301" border="0" alt="Import Binary"></p>
<p class="p_BodyText"><span class="f_BodyText">Currently the permitted types are as follows:</span></p>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1">Java Archive (.jar)</span></li>
<li><span class="f_Bulletlist1">.Net PE file (.exe, .dll); native Windows DLL and EXE files are not supported, only PE files containing .NET assembly data</span></li>
<li><span class="f_Bulletlist1">Intermediate Language file (.il).</span></li>
</ul>
<p class="p_BodyText"><span class="f_BodyText">Enterprise Architect creates the necessary packages and diagrams during the import process. Selecting the</span><span class="f_BodyText"> </span><span class="f_MenuKeyField">Do not import private members</span><span class="f_BodyText"> checkbox excludes private members from libraries from being imported into the model.</span></p>
<p class="p_BodyText"><span class="f_BodyText">When importing .Net files,you can import via reflection or via disassembly, or let Enterprise Architect decide the best method - this might result in both types being used. The reflection-based importer relies on a .Net program, and requires the .Net runtime environment to be installed. The disassembler-based importer relies on a native Windows program called </span><span class="f_BodyText" style="font-style: italic;">Ildasm.exe,</span><span class="f_BodyText"> which is a tool provided with the MS .Net SDK. The SDK can be downloaded from the Microsoft website.</span></p>
<p class="p_BodyText"><span class="f_BodyText">A choice of import methods is available because some files are not compatible with reflection (such as </span><span class="f_BodyText" style="font-style: italic;">mscorlib.dll</span><span class="f_BodyText">) and can only be opened using the disassembler. However, the reflection-based importer is generally much faster.</span></p>
<p class="p_BodyText"><span class="f_BodyText">You can also configure:</span></p>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1">Whether to </span><span class="f_MenuKeyField">Synchronize</span><span class="f_Bulletlist1"> or </span><span class="f_MenuKeyField">Overwrite</span><span class="f_Bulletlist1"> existing Classes when found (if a model Class is found matching the one in the file, </span><span class="f_MenuKeyField">Synchronize</span><span class="f_Bulletlist1"> </span><span class="f_Bulletlist1">updates</span><span class="f_Bulletlist1"> the model Class to include the details from the one in the file, which preserves information not represented in the file such as the location of Classes in diagrams; </span><span class="f_MenuKeyField">Overwrite</span><span class="f_Bulletlist1"> deletes the model Class and generates a new one from the file, which deletes and does not replace the additional information)</span></li>
<li><span class="f_Bulletlist1">Whether to create a diagram for each package</span></li>
<li><span class="f_Bulletlist1">What is shown on diagrams created by the import.</span></li>
</ul>




            </div>
          </div>
        </div>



</div>


</body>
</html>
